package com.acquisition.mapper;

import com.acquisition.entity.HourData;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @title：
 * @author：Yu
 * @create：2023-04-15 19:40
 * @description：
 */
@Mapper
public interface HourDataMapper {
    int save(HourData hourData);

    int remove(int id);

    int update(HourData hourData);

    HourDataMapper get(int id);

    List<HourData> queryByExample(Map<String, Object> param);

    int count(Map<String, Object> param);

    int removeAll();

    int updateFlag(int serverNum, int id);

    int updateQn(String qn, int id);
}
